<? $page_title='分类记录' ?>
<?include "FASHION/page_header.phtml"?>

<form  method="post" id="form1">
<table  class="select">
<{if $path_name}>
<tr>
	<td>位置</td>
	<td><{$path_name}></td>
</tr>
<{/if}>
<tr>
	<td width="25%">编号</td>
<{if $wareclass}>
	<td><{$wareclass.code}></td>
<{else}>
	<td><{if $pdata}><{$pdata.code}>-<{/if}><input type="text" name="code" size="12" value="<{$wareclass.code}>" /></td>
<{/if}>
</tr>
<tr>
	<td>分类名</td>
	<td><input type="text" name="title" size="30" value="<{$wareclass.title}>" /></td>
</tr>
<tr>
	<td colspan=2 class="center">
		<input type="button" value="返 回" class="button"onclick="location.href=
				'<? url('wareclass/pid/PID') ?>'.replace('PID','<?=fetch_a_int('pid')?:$wareclass.pid?>')" /> &nbsp;
		<input type="submit" value="保存信息" class="button" />
	</td>
</tr>
</table>
</form>

<script language="JavaScript">
ajax_form({before:function(){ return confirm('确认提交信息吗？');}});
</script>

<?include "FASHION/page_footer.phtml"?>
